#!/usr/bin/env node

const cp = require('child_process');

console.log('I am father','PID:',process.pid);
const cat = cp.spawn('cat',['./03-child.js‘],{detached:true});
cat.sdout.pipe(process.stdout);
cat.stderr.pipe(process.stderr);

setTimeout(() => {
  console.log('father bye！')；
},5000)


